package com.project.homework4_8.dao.impl;

import com.project.homework4_8.bean.LogBean;
import com.project.homework4_8.dao.ILogDao;

public class LogDaoImpl extends BaseDao implements ILogDao {
    @Override
    public void add(LogBean logBean) {
        this.getConnection();
        this.addLog("insert into t_log(l_info,l_date) values (?,?)",
        logBean.getInfo(),logBean.getDate());
        this.closeConnection();
    }
}
